RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant::^ Operator (AnsiString&)

Performs a bitwise xor operation with a specified value.

Pascal
operator ^(const rhs: Variant&);
operator ^(const rhs: AnsiString&);
operator ^(rhs: Integer);
operator ^(rhs: double);
C++
__fastcall Variant operator ^(const Variant& rhs) const;
__fastcall Variant operator ^(const AnsiString& rhs) const;
__fastcall Variant operator ^(int rhs) const;
__fastcall Variant operator ^(double rhs) const;

The ^ System::Variant::^ returns a new System::Variant::Variant that is the result of a bitwise xor operation on this System::Variant::Variant using rhs as the rvalue. 

If the operation is not possible because of an invalid variant type conversion, an EVariantError exception is thrown. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!